<?php
/**
 * Created by mq.
 * User: mq
 * Date: 17-9-24
 * Time: 下午11:32
 */

namespace app\home\controller;

use think\Controller;

class Captcha extends Controller {

    function index($id = ''){
        $captcha = new \tool\captcha\Captcha(config('captcha'));

        return $captcha->entry($id);
    }
}